package cn.hairui.blog.service;

import javax.mail.MessagingException;

public interface MailService {
    /**
     * 发送邮件
     *
     * @param to         邮件收件人
     * @param subject    邮件主题
     * @param content    邮件内容
     */
    public void sendMail(String to, String subject, String content) throws MessagingException;
}